home *** CD-ROM | disk | FTP | other *** search
- /*
- * offScreenBitMap.h Copyright © 1990 Brigham Stevens
- * -----------------
- *
- * This file contains the prototypes for working with off screen bitmaps.
- *
- * NewBitMap - Allocates an off screen BitMap from a given Rect.
- * CalcOffScreen - Calculates fields of a BitMap for a given Rect.
- * FreeBitMap - Frees allocated memory in an off screen BitMap.
- * DrawBitMap - Draw a BitMap in the current GrafPort.
- * LoadPicture - Makes an off screen BitMap from a PICT resource.
- *
- */
-
- #define _offScreenBitMap_
- #ifndef NIL
- #define NIL 0L
- #endif
-
- void NewBitMap(Rect *frame,BitMap *theMap);
-
- void CalcOffScreen(Rect *frame,int *needed,int *rows);
-
- void FreeBitMap(BitMap *Bits);
-
- void DrawBitMap(BitMap *bits,Rect *frame,int mode);
-
- void LoadPicture(int resID,BitMap *theMap);